package cn.laowen.basic.constants;

import org.omg.CORBA.PUBLIC_MEMBER;

/**
 *
 */
public class BaseConstant {

    public class RegisterConstants {
        //注册短信验证码,key的前缀
        public static final String REGISTER_SMS_PREFIX = "register:";
        //登录短信验证码,key的前缀
        public static final String LOGIN_SMS_PREFIX = "login:";
    }

    public class WeChatConstants {
        public static final String APPID = "wxd853562a0548a7d0";
        public static final String SECRET = "4a5d5615f93f24bdba2ba8534642dbb6";

        //通过code获取的 access_token
        public static final String TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=APPID&secret=SECRET&code=CODE&grant_type=authorization_code";
        //检验授权凭证（access_token）是否有效
        public static final String WXUSER_URL = "https://api.weixin.qq.com/sns/userinfo?access_token=ACCESS_TOKEN&openid=OPENID";




    }
}
